/**
 * Author:  zhengbingjian.
 * Date:    2017/4/24.
 * File：   ad_common.less/考勤申述公共样式
 */
@import "style";
@radius:5px;
@baseColor: @mainFontColor;
@tipColor: #AFAFAF;
@disableColor: #ddd;
@linkColor: @activeColor;
@errorColor: #FF5959;
@warnColor:#FF5959;
@xsSize: 12px;
@smSize: 14px;
@mdSize: 16px;
@lgSize: 18px;
.attendance {
  .header-title, .header-left, .header-right {
    color: @mainFontColor;
  }
  color: @mainFontColor !important;
  font-size: @smallSize;
  input, textarea {
    outline: none;
    border: none;
  }
}
.page-infinite-loading {
  text-align: center;
  height: 50px;
  width: 100%;
  line-height: 50px;
  div {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
  }
}
.confirmBtnCls{
  font-size: @lgSize;
}
.attendance-ct{
  padding-top: 44px;
  padding-bottom: 2rem;
}
.attRecord {
  //border-top: 12px solid #f2f2f2;
  padding: 48px 30px 0;
  .emptyAtt {
    margin-top: 50px;
    text-align: center;
    font-size: @lgSize;
    color: @tipColor;
    .no-record{
      display: block;
      padding-bottom: 6px;
      width: 10rem;
      height: 100%;
      margin: 0 auto;
      img{
        width: 100%;
        margin-left: -2.2rem;
      }
    }
  }
  ul {
    li {
      position: relative;
      padding: 48px 0 10px 18px;
      font-size: @lgSize;
      color: @tipColor;
      .attTime {
        position: absolute;
        top: 20px;
        left: -7px;
        color: @tipColor;
        display: inline-block;
        width: 80px;
        text-align: right;
        font-size: 22px;
        &:before {
          position: absolute;
          top: 50%;
          margin-top: -4px;
          left: 2px;
          display: inline-block;
          content: '';
          width: 10px;
          height: 10px;
          border-radius: 100%;
          background-color: @tipColor;
        }
        &:after {
          position: absolute;
          top: 50%;
          margin-top: -6px;
          left: 0;
          display: inline-block;
          content: '';
          width: 12px;
          height: 12px;
          border-radius: 100%;
          border: 1px solid @tipColor;
        }
      }
      &.error {
        .attTime {
          color: @warnColor;
          &:before {
            background-color: @warnColor;
          }
          &:after {
            border-color: @warnColor;
          }
        }
      }
      .circle {
        margin-top: -10px;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 1px;
        display: inline-block;
        background-color: @tipColor;
      }
      .attSite {
        color: @tipColor;
        font-size: @mdSize;
      }
      .attStatus {
        position: absolute;
        display: inline-block;
        padding: 4px 8px;
        border-radius: 15px;
        top: 12px;
        right: -38px;
        font-size: @xsSize;
        color: @warnColor;
        background-color: #ffdad6;
      }
      p {
        color: #C4C4C4;
        font-size: @smSize;
        .iphone{
          padding-left: 16px;
        }
      }
      &:first-child {
        .circle {
          margin-top: 0;
        }
      }
      &:last-child {
        .circle {
          height: 40%;
        }
      }
    }
  }
}
.result{
  color: @tipColor;
}
.omitIcon{
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -9px;
  display: inline-block;
  height: 18px;
  width: 3px;
  background: url("../../assets/images/ad_omit.png") no-repeat;
  background-size: cover;
}
.appealUser2{
  p{
    line-height: 34px !important;
  }
}
.appealUser{
  position: relative;
  padding: 55px 0 .3rem 100px;
  min-height: 150px;
  .userAvatar{
    position: absolute;
    top: 60px;
    left: 10px;
    >img{
      width:80px;
      border-radius:100%;
    }
  }
  p{
    line-height: 54px;
    min-height: 34px;
    color: @baseColor;
    font-size: 16px;
  }

  .userTime{
    line-height: normal;
    min-height: 20px;
  }
  .userReason{
    min-height: 25px;
    color: @baseColor;
    letter-spacing: 1px;
  }
}
.userStatus{
  line-height: normal;
  padding-bottom: 5px;
  //margin-top: 5px;
  &.error{
    color: @errorColor;
  }
}
.appealDeal{
  border-top: 8px solid #F2F2F2;
  p{
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
    color: @greyFontColor;
  }
  p:after {
    position: absolute;
    content: '';
    border-bottom: 1px solid #e3e2e2;
    height: 1px;
    left: 20px;
    width: 100%;
    bottom: 0;
  }
  >div{
    padding: 10px 20px 0 20px;
    span{
      display: inline-block;
      width: 18%;
      padding: 3px 0;
      margin-right: 2.5%;
      margin-bottom: 10px;
      color: @activeColor;
      background-color: @btnBgColor;
      border-radius: 20px;
      border: 1px solid @btnBorderColor;
      white-space: nowrap;
      text-align: center;
      &:nth-child(5n){
        margin-right: 0;
      }
      &.active{
        background-color: @linkColor;
        border-color: @linkColor;
        color: #fff;
      }
    }
  }
}
.appealReply{
  p.title{
    color: @greyFontColor;
    padding-bottom: 8px;
  }
  textarea{
    padding: 10px;
    width: 100%;
    height:100px;
    border: 1px solid #ddd !important;
    resize: none;
    color: @mainFontColor;
  }
}
.appeal-content{
  padding: 10px 15px;
  border-top: 8px solid #F2F2F2;
}
.submitContent{
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 99;
  border-top: 1px solid rgba(242,242,242,0.9);
}
.appealSubmit{
  display: block;
  width: 50%;
  margin: 15px auto;
  border-radius: 30px;
  background-color: @defaultBgColor;
  color: @textColor;
  font-size: @lgSize;
  text-align: center;
  padding: 10px 0;
  border: 1px solid @textColor;
  box-shadow: 2px 2px 6px rgba(32,169,211,0.4);
  &.disable{
    background-color: #ddd;
    color: #fff;
  }
}
.appealSubmit1{
  display: block;
  width: 50%;
  margin: 15px auto;
  border-radius: 30px;
  background-color: @activeColor;
  color: #fff;
  font-size: @lgSize;
  text-align: center;
  padding: 10px 0;
  border: 1px solid @textColor;
  box-shadow: 2px 2px 6px rgba(32,169,211,0.4);
}
.dealResults{
  border-bottom: 8px solid #F2F2F2;
  p{
    position: relative;
    padding: 10px 15px 10px 100px;
    border-top: 1px solid #ececec;
    color: @baseColor;
    min-height: 40px;
    span{
      position: absolute;
      top:10px;
      left: 15px;
      color: @tipColor;
    }
    i{
      font-style: normal;
    }
    b{
      display: block;
      font-weight: normal;
      padding-top: 3px;
      color: @greyFontColor;
    }
  }
}
.appeal-bottom{
  padding-bottom: 0;
}
.refuseStatus{
  color: @importantColor;
}
.appealAgree{
  display: block;
  width: 45%;
  margin: 15px 2.5%;
  border-radius: 30px;
  background-color: @activeColor;
  color: #fff;
  font-size: @lgSize;
  text-align: center;
  padding: 10px 0;
  border: 1px solid @textColor;
  box-shadow: 2px 2px 6px rgba(32,169,211,0.4);
  float: left;
}
.appealDisAgree{
  display: block;
  width: 45%;
  margin: 15px 2.5%;
  border-radius: 30px;
  background-color: @defaultBgColor;
  color: @textColor;
  font-size: @lgSize;
  text-align: center;
  padding: 10px 0;
  border: 1px solid @textColor;
  box-shadow: 2px 2px 6px rgba(32,169,211,0.4);
  float: left;
}
.appealTimes{
  border-top: 1px solid #ececec;
  padding: 10px 15px;
  position: relative;
  width: 100%;
  overflow: hidden;
  &-title{
    color: @greyFontColor;
    display: inline-block;
  }
  &-picker{
    width: 100%;
    position: absolute;
    left: 7.5rem;
    top: 0;
  }
  .iconSj{
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    font-size: @lgSize;
  }
}